import * as React from 'react';

interface IAppProps {}

interface IAppState {
  text: string;
}

export default class App extends React.Component<IAppProps, IAppState> {
  constructor(props: IAppProps) {
    super(props);
    this.state = {
      text: ''
    };
  }
  componentDidMount() {
    this.setState({
      text: 'hello asdasdf'
    });
  }
  render() {
    const {text} = this.state;
    return (
      <h1>{text}{'helloasdfdafasd'}</h1>
    );
  }
}
